package io.renren.modules.simida.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.modules.simida.dto.resp.UserHomePageRespDto;
import io.renren.common.utils.PageUtils;
import io.renren.modules.simida.entity.UserInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户信息表
 *
 * @author miaoguoxin
 * @email ${email}
 * @date 2019-11-17 09:57:32
 */
public interface UserInfoService extends IService<UserInfoEntity> {

    PageUtils queryPage(Map<String,Object> params);

    UserHomePageRespDto queryUserInfo(Long userId);

    /**
    * @Description: 性别统计
    * @Param:
    * @return:
    * @Author: miaoguoxin
    * @Date: 2019/11/21
    */
    List<JSONObject> genderGroupCount();

    /**
    * @Description: 时间段注册人数统计
    * @Param:
    * @return:
    * @Author: miaoguoxin
    * @Date: 2019/11/21
    */
    Map<String,List> regNumStatistics(Map<String,Object> params);
}

